package com.hckjsec.website.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网站主对象 web_site_config
 * 
 * @author cyt
 * @date 2021-10-14
 */
public class WebSiteConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 网站名称 */
    @Excel(name = "网站名称")
    private String name;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String englishName;

    /** 网站logo */
    @Excel(name = "网站logo")
    private String logo;

    /** 网站域名 */
    @Excel(name = "网站域名")
    private String domain;

    /** 网站备案号 */
    @Excel(name = "网站备案号")
    private String record;

    /** 网站描述 */
    @Excel(name = "网站描述")
    private String webDescribe;

    /** 网站关键字 */
    @Excel(name = "网站关键字")
    private String keyword;

    /** 版权信息 */
    @Excel(name = "版权信息")
    private String copyright;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyname;

    /** 单位电话 */
    @Excel(name = "单位电话")
    private String companytel;

    /** 单位邮箱 */
    @Excel(name = "单位邮箱")
    private String companyemail;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String companyaddress;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 公众号图片 */
    @Excel(name = "公众号图片")
    private String officialImg;

    /** 小程序图片 */
    @Excel(name = "小程序图片")
    private String appletsImg;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 新建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "新建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setEnglishName(String englishName)
    {
        this.englishName = englishName;
    }

    public String getEnglishName()
    {
        return englishName;
    }
    public void setLogo(String logo)
    {
        this.logo = logo;
    }

    public String getLogo()
    {
        return logo;
    }
    public void setDomain(String domain)
    {
        this.domain = domain;
    }

    public String getDomain()
    {
        return domain;
    }
    public void setRecord(String record)
    {
        this.record = record;
    }

    public String getRecord()
    {
        return record;
    }
    public void setWebDescribe(String webDescribe)
    {
        this.webDescribe = webDescribe;
    }

    public String getWebDescribe()
    {
        return webDescribe;
    }
    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }

    public String getKeyword()
    {
        return keyword;
    }
    public void setCopyright(String copyright)
    {
        this.copyright = copyright;
    }

    public String getCopyright()
    {
        return copyright;
    }
    public void setCompanyname(String companyname)
    {
        this.companyname = companyname;
    }

    public String getCompanyname()
    {
        return companyname;
    }
    public void setCompanytel(String companytel)
    {
        this.companytel = companytel;
    }

    public String getCompanytel()
    {
        return companytel;
    }
    public void setCompanyemail(String companyemail)
    {
        this.companyemail = companyemail;
    }

    public String getCompanyemail()
    {
        return companyemail;
    }
    public void setCompanyaddress(String companyaddress)
    {
        this.companyaddress = companyaddress;
    }

    public String getCompanyaddress()
    {
        return companyaddress;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setOfficialImg(String officialImg)
    {
        this.officialImg = officialImg;
    }

    public String getOfficialImg()
    {
        return officialImg;
    }
    public void setAppletsImg(String appletsImg)
    {
        this.appletsImg = appletsImg;
    }

    public String getAppletsImg()
    {
        return appletsImg;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getVersion()
    {
        return version;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setOperator(Long operator)
    {
        this.operator = operator;
    }

    public Long getOperator()
    {
        return operator;
    }
    public void setCreatedAt(Date createdAt)
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt()
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt)
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt()
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("name", getName())
                .append("englishName", getEnglishName())
                .append("logo", getLogo())
                .append("domain", getDomain())
                .append("record", getRecord())
                .append("webDescribe", getWebDescribe())
                .append("keyword", getKeyword())
                .append("copyright", getCopyright())
                .append("companyname", getCompanyname())
                .append("companytel", getCompanytel())
                .append("companyemail", getCompanyemail())
                .append("companyaddress", getCompanyaddress())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("officialImg", getOfficialImg())
                .append("appletsImg", getAppletsImg())
                .append("version", getVersion())
                .append("state", getState())
                .append("operator", getOperator())
                .append("createdAt", getCreatedAt())
                .append("updatedAt", getUpdatedAt())
                .toString();
    }
}
